  <tr valign="top">
    <td height="40" align="left" class="dato" background="/images/topHeader.gif" colspan="4">Apuestas</td>
  </tr>
    <tr>
     <td colspan="4" align="center" background="/images/vg.jpg"><span class="subdatos">Consulta de Apuesta</td>
  </tr>
    <tr><td>&nbsp;</td></tr>

<% form_for(@bet) do |f| %>
  <%= f.error_messages %>
    <tr>
    <td>Nombre Evento:       <%= @event.name %></td>
  </tr>
  <tr>
    <td>Apuesta a:           <%= @participant.name %></td>
  </tr>
     <tr>
   	<td>Fecha y Hora: <%= @event.eventstart.strftime("%d-%b") %> -- <%= timestring = @event.eventstart.strftime("%I:%M %p") %></td>
 </tr>
 <tr>
 	<td>Monto : <%= @bet.ammount %></td>
 </tr>
      <tr><td>&nbsp;</td></tr>
 
   <tr valign="top">
    <td height="40" align="left" class="dato" background="/images/topHeader.gif" colspan="4">Metodos de pago</td>
  </tr>
    <tr>
     <td colspan="4" align="center" background="/images/vg.jpg"><span class="subdatos">Selecciona el metodo de pago a utilizar</td>
  </tr>
    <tr><td>&nbsp;</td></tr>
	
  <% for paymethod in @paymethods %>   
 <tr align="left">
    <% if paymethod.name == "paypal" %>
	<td width="65"><img width="65" height="30" src="/images/paypal.png" align="left" /><%= link_to paymethod.useracc, :controller => 'bets', :action => 'bill', :id => @bet, :id2 => paymethod,  :class => "navbar" %></td>
    <% end %>
	<% if paymethod.name == "tarjeta" %>
	<td width="65"><img width="65" height="30" src="/images/visa.png" align="left" /><%= link_to paymethod.numbercc, :controller => 'bets', :action => 'bill', :id => @bet, :id2 => paymethod,  :class => "navbar" %></td>
    <% end %>
    <%end %>
	
	

 
  </tr>
<% end %>

  <tr>

  </tr>
  
  <tr><td>	<%= link_to 'Ver Factura', "/bets/"+@bet.id.to_s+".pdf" %></td></tr>

